package com.xianyu.open.restclient.config;

import com.xianyu.open.restclient.constants.RestClientApplicationContextUtils;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 *
 * @author bailinan
 * @date 2018/7/22
 */
@Configuration
@EnableConfigurationProperties(RestClientProperties.class)
public class RestClientAutoConfig {
    @Bean
    public RestClientApplicationContextUtils restClientApplicationContextUtils(){
        return new RestClientApplicationContextUtils();
    }
}
